#ifndef SYSTEM_TASK_H
#define SYSTEM_TASK_H

#include "struct_typedef.h"
#include "mpu6050_task.h"
#include "bsp_can.h"

#ifdef __cplusplus
extern "C"{
#endif

#ifdef __cplusplus

class system_t
{
    public:
        fp32 pitch_angle;
        fp32 roll_angle;
        fp32 accel_pitch;
        fp32 accel_roll;
        
        void GetInfo();
        void SendData();
};



#endif

extern void system_task(void const *pvParameters);


#ifdef __cplusplus
}
#endif


#endif

